package com.xj.common.bussiness.personalInformationImg.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 个人信息的照片（如：身份证）
 * </p>
 *
 * @author Hmemb
 * @since 2018-02-24
 */
@Data
@TableName("tb_personal_information_img")
public class TbPersonalInformationImg extends Model<TbPersonalInformationImg> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 身份证正面照
     */
	@TableField(value="identity_positive_img")
	private String identityPositiveImg;
    /**
     * 身份证号
     */
	@TableField(value="identity_num")
	private String identityNum;
    /**
     * 身份证背面照
     */
	@TableField(value="identity_opposite_img")
	private String identityOppositeImg;
    /**
     * 个人彩照
     */
	private String portrait;
    /**
     * 结婚证照片
     */
	@TableField(value="marriage_certificate")
	private String marriageCertificate;
    /**
     * 本人户口簿个人资料页照片
     */
	@TableField(value="household_register_img")
	private String householdRegisterImg;
    /**
     * 配偶户口簿资个人资料页照片
     */
	@TableField(value="household_spouse_img")
	private String householdSpouseImg;

	/**
	 * 配偶或代理人身份证正面照片
	 */
	@TableField(value="other_identity_positive")
	private String otherIdentityPositive;

	/**
	 * 配偶或代理人身份证背面照片
	 */
	@TableField(value="other_identity_opposite")
	private String otherIdentityOpposite;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getIdentityPositiveImg() {
		return identityPositiveImg;
	}

	public void setIdentityPositiveImg(String identityPositiveImg) {
		this.identityPositiveImg = identityPositiveImg;
	}

	public String getIdentityNum() {
		return identityNum;
	}

	public void setIdentityNum(String identityNum) {
		this.identityNum = identityNum;
	}

	public String getIdentityOppositeImg() {
		return identityOppositeImg;
	}

	public void setIdentityOppositeImg(String identityOppositeImg) {
		this.identityOppositeImg = identityOppositeImg;
	}

	public String getPortrait() {
		return portrait;
	}

	public void setPortrait(String portrait) {
		this.portrait = portrait;
	}

	public String getMarriageCertificate() {
		return marriageCertificate;
	}

	public void setMarriageCertificate(String marriageCertificate) {
		this.marriageCertificate = marriageCertificate;
	}

	public String getHouseholdRegisterImg() {
		return householdRegisterImg;
	}

	public void setHouseholdRegisterImg(String householdRegisterImg) {
		this.householdRegisterImg = householdRegisterImg;
	}

	public String getHouseholdSpouseImg() {
		return householdSpouseImg;
	}

	public void setHouseholdSpouseImg(String householdSpouseImg) {
		this.householdSpouseImg = householdSpouseImg;
	}

	public String getOtherIdentityPositive() {
		return otherIdentityPositive;
	}

	public void setOtherIdentityPositive(String otherIdentityPositive) {
		this.otherIdentityPositive = otherIdentityPositive;
	}

	public String getOtherIdentityOpposite() {
		return otherIdentityOpposite;
	}

	public void setOtherIdentityOpposite(String otherIdentityOpposite) {
		this.otherIdentityOpposite = otherIdentityOpposite;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
